//
//  BaseViewController.h
//  舟航007机车卫士
//
//  Created by admin on 15/11/9.
//  Copyright (c) 2015年 redoor. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CustomButton.h"

@interface RegisterBaseViewController : UIViewController
@property(strong,nonatomic)CustomButton *leftbtn;
@property(strong,nonatomic)UILabel *titletext;
@property(strong,nonatomic)UILabel *rightlab;
          
- (void)addTitle:(NSString *)titleName;
- (void)enableButton:(UIButton *)btn;
- (void)disableButton:(UIButton *)btn;

- (UILabel *)createLabelFrame:(CGRect)frame title:(NSString *)title font:(UIFont *)font;
- (UITextField *)createTextFieldFrame:(CGRect)frame title:(NSString *)title placeholder:(NSString *)placeholder;
- (UIButton *)createBtnFrame:(CGRect)frame title:(NSString *)title bgImageName:(NSString *)bgImageName selectedImageName:(NSString *)selectedImageName target:(id)target action:(SEL)action;

- (UIButton *)addLastBtnTarget:(id)target action:(SEL)action;
- (UIButton *)addNextBtnTarget:(id)target action:(SEL)action;
@end
